/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package cart.hibernate.paymentMethod;

/**
 *
 * @author BibooChung
 * @version 1.0
 */

public class PaymentMethod {
    private long paymentMethodId;
    private String paymentMethod;
    
    /**
     * Default Constructor
     */
    public PaymentMethod(){
    }
    
    /**
     * Constructor
     * @param method this.paymentMethod is initialized by method
     */
    public PaymentMethod(String method){
        this.paymentMethod = method;
    } 
     
    /**
     * Getter of paymentMethodId
     * @return this.paymentMethodId
     */
    public long getPaymentMethodId(){
        return paymentMethodId;
    }
    /**
     * Getter of paymentMethod
     * @return this.paymentMethod
     */
    public String getPaymentMethod(){
        return paymentMethod;
    }
    
    /**
     * Setter of paymentMethodId
     * @param id set paymentMethodId to id's value
     */
    public void setPaymentMethodId(long id) {
        this.paymentMethodId = id;
    }
    /**
     * Setter of paymentMethod
     * @param method set paymentMethod to paymentMethod's value
     */
    public void setPaymentMethod(String method){
        this.paymentMethod = method;
    }
    
}
